   <%-- ?????????????????????? what these includes are for ???????????????????? --%>
    <%@ page language="java" import="java.util.List" %>
    <%@ page language="java" import="java.util.ArrayList" %>
    <%@ page language="java" import="com.asset.salesforce.domain.JoinRequest" %>
    <%@ page language="java" import="com.asset.salesforce.domain.Employee" %>
    <%@ page language="java" import="com.asset.salesforce.converter.*" %>
<%@include file="startUpIncludes.jsp" %>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>
            PENDING REQUESTS
        </title>
    <script type="text/javascript" src="../js/request.js">
    </script>
    </head>
    <body>
    <jsp:include page="header.jsp" >
		<jsp:param value="true" name="loggedIn"/>
	</jsp:include>
    <div class="wrap">
	<div class="fitBG">
        <div class="main">
		<%@include file="basicLeftMenu.jsp" %>
            <div class="content">
				<jsp:include page="tabs.jsp" >
					<jsp:param value="requests" name="currentPage"/>
				</jsp:include>
                <div class="tab-content">
                <h3>Pending Requests</h3>
                <c:choose>
                <c:when test="${empty joinRequestForms}">
                <div class="noData">No data to preview...</div>
                </c:when>
                <c:otherwise>
                <div class="req-Container">
                <c:forEach items="${joinRequestForms}" var="joinRequestForm">
                <div class="req odd"><a href="#">${joinRequestForm.email}</a> requests to join <a href="#">${joinRequestForm.companyName}</a><a class="imp" href="/sales/s/refuseRequests?id=${joinRequestForm.id}">Ignore</a><a class="acc" href="/sales/s/acceptRequests?id=${joinRequestForm.id}&empId=${joinRequestForm.empId}">Accept</a></div>
                </c:forEach>
                </div>
                </c:otherwise>
                </c:choose>
                </div>
            </div>
        </div>
        
	<%@include file="footer.jspf" %>
    </div>
    </div>

    </body>
</html>

